<html>
    <head>
         <meta charset="utf-8">
         <title>react组件</title>
    </head>



    <body>
        <div id="container"></div>


        <script src="js/react.min.js"></script>
        <script src="js/react-dom.min.js"></script>
        <script src="js/babel.min.js"></script>
        

        <script type="text/babel">

            //创建组件---初级渲染
            ReactDOM.render(
                <h1>react组件</h1>
                ,
                document.getElementById('container')
            );

           
        </script>

    </body>

</html>